package com.wuhuiyue.service.impl;

import com.wuhuiyue.entity.Group;
import com.wuhuiyue.entity.Software;
import com.wuhuiyue.mapper.SoftwareMapper;
import com.wuhuiyue.service.ISoftwareService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-11
 */
@Service
public class SoftwareServiceImpl extends ServiceImpl<SoftwareMapper, Software> implements ISoftwareService {

    @Autowired
    SoftwareMapper softwareMapper;

    @Override
    public List<Group> countByGid(Date datea, Date dateb) {
        return softwareMapper.countByGid(datea,dateb);
    }
}
